package com.three.service;

import com.baor.baseUtil.R;
import com.three.domain.Leaves;

import java.util.Map;

public interface LeavesService {
    // 分页查询
    public R leavesList(Integer id, Integer pageIndex, Integer pageSize,String date);
    // 添加请假
    public R addLeaves(Leaves leaves);



    //    查询待审批请假列表
    R viewLeaves(Integer pageIndex, Integer pageSize);
    //    操作审核请假
    void reviewLeave( Map<String, Object> params); // 审核请假申请
}
